Welcome![Sign In][Sign Up]
Location:
Search - UDP checksum

Search list

[WinSock-NDIScheck_sum

Description: 计算校验和 校验和算法描述:为保证网络上传输的数据的可靠性,在许多协议中都设置了校验和项,例如:IPv4、ICMPv4、IGMPV4、ICMPv6、UDP和TCP 等等。计算这些校验和的算法称为网际校验和算法,简单来说就是:把被校验的数据16位进行累加,然后取反码,若数据字节长度为奇数,则数据尾部补一个字节的0以凑成偶数。 由于从输入文件读入的数据不能直接满足计算校验和的条件,所以首先对从文件读入缓冲区的数据进行预处理,即读入缓冲区时忽略空格。由于累加是按16位进行的,所以每次从缓冲区中读出4个字符,并将字符转换成对应的16进制数字,如此依次累加,直至数据全部读完。 还有一种情况,即如果数据长度为奇数个字节,则需要判断,并补0累加。程序中利用的是缓冲区长度计数器i和当前读取到计数器j判断数据长度是否为奇数。即如果数据长度为偶数,则读完数据时当前读取到计数器j的值应与缓冲区长度i相等,而如果数据长度为奇数,则读完数据时,当前读取到计数器j>缓冲区长度i,此时需将缓冲区中剩余的两个字符读出,并补0,转换成相应16进制数以后参与累加。 当累加结束后,将累加和的16位以上数据位移下再进行一次累加,并对最后累加和取反即得所求校验和。 -calculated checksum checksum algorithm Description : To ensure the network transmission of data reliability, in many of the agreements are set up and calibration, for example : IPv4, ICMPv4, IGMPV4, ICMPv6. UDP and TCP so on. Calculating checksum algorithm called the Internet checksum algorithm, the simple answer is : as has been the calibration data for 16 cumulative, and then take the anti-code, if the data byte length of the odd, data will make up the tail of a 0 byte to make up even. As the input file is read into the data can not be directly calculated checksum meet the conditions, So, the first right from the document read into the buffer data preprocessing, read into the buffer zone that is overlooked spaces. As the cumulative basis for the 16, so every time from the buffer read out
Platform: | Size: 88943 | Author: 阿蒙 | Hits:

[Internet-NetworkRawSock

Description: 本人自己写的raw socket收发UDP/Raw包的程序,演示了TTL的设置 当初弄懂UDP的伪头部跟UDP校验和的设置费了一点劲,所以敝帚自珍-I wrote it myself raw socket TX UDP / Raw packets procedures, demonstration of the original TTL settings understood UDP pseudo-head with UDP checksum and the installation costs a bit strong, so broom
Platform: | Size: 10263 | Author: DoItFreely | Hits:

[TCP/IP stackudpcksum

Description: 关于udp校验和的代码-on udp checksum code
Platform: | Size: 10502 | Author: 李文东 | Hits:

[ISAPI-IERawSock

Description: 本人自己写的raw socket收发UDP/Raw包的程序,演示了TTL的设置 当初弄懂UDP的伪头部跟UDP校验和的设置费了一点劲,所以敝帚自珍-I wrote it myself raw socket TX UDP/Raw packets procedures, demonstration of the original TTL settings understood UDP pseudo-head with UDP checksum and the installation costs a bit strong, so broom
Platform: | Size: 10240 | Author: DoItFreely | Hits:

[TCP/IP stackudpcksum

Description:
Platform: | Size: 10240 | Author: 李文东 | Hits:

[CommunicationUDPComm

Description: 基于UDP通讯服务器的开发,主要负责接收传感器发送上来的检测数据,校验后解析(CRC校验),并存储在SQL数据库中。-UDP communication server-based development, primarily responsible for receiving the sensor sends up the detection data checksum (CRC check) after parsing, and stored in an SQL database.
Platform: | Size: 1380352 | Author: | Hits:

[Internet-Networkcheck_sum

Description: 计算校验和 校验和算法描述:为保证网络上传输的数据的可靠性,在许多协议中都设置了校验和项,例如:IPv4、ICMPv4、IGMPV4、ICMPv6、UDP和TCP 等等。计算这些校验和的算法称为网际校验和算法,简单来说就是:把被校验的数据16位进行累加,然后取反码,若数据字节长度为奇数,则数据尾部补一个字节的0以凑成偶数。 由于从输入文件读入的数据不能直接满足计算校验和的条件,所以首先对从文件读入缓冲区的数据进行预处理,即读入缓冲区时忽略空格。由于累加是按16位进行的,所以每次从缓冲区中读出4个字符,并将字符转换成对应的16进制数字,如此依次累加,直至数据全部读完。 还有一种情况,即如果数据长度为奇数个字节,则需要判断,并补0累加。程序中利用的是缓冲区长度计数器i和当前读取到计数器j判断数据长度是否为奇数。即如果数据长度为偶数,则读完数据时当前读取到计数器j的值应与缓冲区长度i相等,而如果数据长度为奇数,则读完数据时,当前读取到计数器j>缓冲区长度i,此时需将缓冲区中剩余的两个字符读出,并补0,转换成相应16进制数以后参与累加。 当累加结束后,将累加和的16位以上数据位移下再进行一次累加,并对最后累加和取反即得所求校验和。 -calculated checksum checksum algorithm Description : To ensure the network transmission of data reliability, in many of the agreements are set up and calibration, for example : IPv4, ICMPv4, IGMPV4, ICMPv6. UDP and TCP so on. Calculating checksum algorithm called the Internet checksum algorithm, the simple answer is : as has been the calibration data for 16 cumulative, and then take the anti-code, if the data byte length of the odd, data will make up the tail of a 0 byte to make up even. As the input file is read into the data can not be directly calculated checksum meet the conditions, So, the first right from the document read into the buffer data preprocessing, read into the buffer zone that is overlooked spaces. As the cumulative basis for the 16, so every time from the buffer read out
Platform: | Size: 89088 | Author: | Hits:

[Embeded-SCM DevelopCheckSumTCPIP

Description: 此程序为网络通信的16位校验累加和的经典程序。虽然简单但是很经典。代码简洁,执行效率高-procedure for the communications network 16 and the cumulative calibration procedures classic. While simple but classic. Code simple, high efficiency
Platform: | Size: 1024 | Author: zhaoyq | Hits:

[TCP/IP stackTCPchecksum

Description: 用C语言编写的求TCP,UDP包头校验和的程序。-Using C language for TCP, UDP header checksum procedure.
Platform: | Size: 1024 | Author: yangchao | Hits:

[TCP/IP stackwindows-net

Description: 我们用得最多的协议是UDP和TCP,UDP是不可靠传输服务,TCP是可靠传输服务。UDP就像点对点的数据传输一样,发送者把数据打包,包上有收信者的地址和其他必要信息,至于收信者能不能收到,UDP协议并不保证。而TCP协议就像(实际他们是一个层次的网络协议)是建立在UDP的基础上,加入了校验和重传等复杂的机制来保证数据可靠的传达到收信者。关于网络协议的具体内容,可以参考专门介绍网络协议的书籍,这里直接探讨编程实现网络程序的问题。-We use the most agreement is UDP and TCP, UDP is not reliable transport services, TCP is a reliable transport service. UDP as point-to-point data transmission, the sender of data packing, has prepared to receive packets on the address and other necessary information for the receiver can not receive, UDP does not guarantee agreement. The TCP protocol is like (actually they are a level of network protocol) is built on the basis of UDP, joined the checksum ARQ complex mechanism to ensure that reliable data were communicated to the receiver. With regard to the specific content of network protocols, you can refer to specialized network protocols introduce the books, here to explore the direct network programming procedures.
Platform: | Size: 7971840 | Author: | Hits:

[Other systemsSerialEmul

Description: NMEA Emulator import nmea file and transfer it serial port or udp. It has checksum correction.
Platform: | Size: 153600 | Author: bike | Hits:

[Program docIP_UDP_TCP_ICMP-checksum

Description: IP/UDP/TCP/ICMP的校验和 在发送数据时,为了计算数IP据报的校验和。应该按如下步骤: (1) 把IP数据报的校验和字段置为0。 (2) 把首部看成以16位为单位的数字组成,依次进行二进制反码求和 (3) 把得到的结果存入校验和字段中。 在接收数据时,计算数据报的校验和相对简单,按如下步骤: (1)把首部看成以16位为单位的数字组成,依次进行二进制反码求和,包括校验和字段。 (2)检查计算出的校验和的结果是否等于零。 (3)如果等于零,说明被整除,校验是和正确。否则,校验和就是错误的,协议栈要抛弃这个数据包。-IP/UDP/TCP/ICMP checksum and
Platform: | Size: 4096 | Author: cool | Hits:

[Internet-Networktest.c

Description: 构造一个DNS报文,查了好些资料,好象许多朋友对UDP报文的校验和老是出问题,自己试了一些例子代码,也有问题。所以花了一些时间,做了一个成功的例子,在Linux下GCC通过并验证成功-Construct a DNS packet, to check better information, and if many friends UDP packet checksum always problems, his trial some example code, there are problems. So I spent some time doing a successful example under Linux GCC through and verify success
Platform: | Size: 2048 | Author: zhangming | Hits:

[CommunicationUDPCheckSum

Description: UDP发包校验和的计算源码 一个很有用的。程序中单独发生udp报文,可以通过wireshark trace下来。-UDP contract checksum calculation a useful source. Program alone udp packet by wireshark trace down.
Platform: | Size: 30720 | Author: 株株 | Hits:

[Linux-Unixchecksum

Description: IP/TCP/UDP checksumming routines driver
Platform: | Size: 4096 | Author: xoulunceng | Hits:

[Internet-Networkjiayou

Description: linux UDP 传送 文件。涉及流 程控制和拥塞控制。 文件完整 性的校验等-Linux UDP to transfer files. Involved in the process control and congestion control. File integrity checksum
Platform: | Size: 14336 | Author: huy | Hits:

[Internet-NetworkUdpCheckSum

Description: 刚开始时,服务程序根本接收不到我发的包,用ethereal抓包时发现数据确实是发送出去了,但显示信息表示UDP校验和不正确。 后来发现计算UDP校验和时,我把IP头也计算进去,实际上,UDP的校验和只需要计算从UDP头开始到后面的净荷。 找到问题后觉得十分简单,但如果有些朋友也犯了和我一样的错误的话,希望有所帮助。-UDP checksum calculation procedures
Platform: | Size: 2048 | Author: dong | Hits:

[Linux-Unixchecksum

Description: computes a partial checksum, e.g. for TCP UDP fragments.
Platform: | Size: 4096 | Author: wonvxbo | Hits:

[Linux-Unixudp

Description: udp_csum_outgoing - compute UDPv4 v6 checksum over fragments.
Platform: | Size: 15360 | Author: hubonqx | Hits:

[Windows DevelopFirmtsettint

Description: 演示了TTL的设置 当初弄懂UDP的伪头部跟UDP校验和的设置费了一点劲(Illustrates the TTL Settings First find out false head with UDP UDP checksum had a little difficulty in setting)
Platform: | Size: 9216 | Author: Milozs | Hits:
« 12 »

CodeBus www.codebus.net